Tool properties

This dialog allows you to modify the properties of each external tool on the Tools menu. It is used by the Edit Tools dialog.


top bottom

  1. Caption: A description of the tool as it is displayed on the Tools menu
  2. Program: The filename of the program. The program can either be an executable file or a Tiny Hexer Script
  3. Select Program: A file selection dialog is shown so you can choose the program/script
  4. Directory: The working directory used when executing the program
  5. Arguments: Command line arguments that will be passed to the program/script. A Tiny Hexer script can access these arguments using PARAM_COUNT and PARAMS().

    Some macros can be used to control tool execution:

    $(INPUT): You will be prompted to type an argument. This text will replace the macro on tool execution

    $(SAVE): Save the active document before executing the tool. The macro is removed from the parameters passed to the tool

    $(SCRIPT): This macro is removed from the list of arguments. It tells Tiny Hexer that the tool is a Tiny Hexer Script rather than an executable program

    $(FILE): This macro is replaced by the filename of the active document on tool execution

    $(POSITION): This macro is replaced by the position of the cursor in the active document on tool execution

    $(SELSTART): This macro is replaced by the start of the selected block in the active document on tool execution

    $(SELCOUNT): This macro is replaced by the amount of selected data in the active document on tool execution

  6. OK: Accept the changes and close this dialog
  7. Cancel: Close the dialog without accepting the changes
  8. Help: Show this help topic

top bottom
mirkes.de's Tiny Hexer, Copyright ©2003-2004 Markus Stephany. All rights reserved.